package com.meritdata.cloud.data.service.application.service;

import com.meritdata.cloud.data.base.Page;
import com.meritdata.cloud.data.service.application.model.Application;

import java.util.List;
import java.util.Map;

public interface IApplicationService {
	
	public void add(Application app);

	Page page(Page<Application> page);

	List<Application> all();

    boolean save(Application application);

	Application get(Long id);

	/**
	 * 查询简单属性，排除证书文件
	 * @param id
	 * @return
	 */
	Application load(Long id);

	boolean delete(Long id);

	boolean udpate(Application application);

}
